# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-pocketcdg
pkgver=0_git20200317
pkgrel=0
_commit="b819de5b993d5f0e8cfd2870453d090c1cf0a3ca"
pkgdesc="PocketCDG libretro port"
url="https://github.com/libretro/libretro-pocketcdg"
arch="all"
license="MIT"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/libretro-pocketcdg/archive/$_commit.tar.gz"
builddir="$srcdir/libretro-pocketcdg-$_commit"
options="!check" # No tests

build() {
	make
}

package() {
	install -Dm644 pocketcdg_libretro.so "$pkgdir"/usr/lib/libretro/pocketcdg_libretro.so
}

sha512sums="79f8c7261f98d6905d5f92ec77fc7ba8466a8e9460ee5a53035debac673b75cd5758a8800700ed7d471b973b6ea2af03172b734ac6311084d7ed94bf922db478  libretro-pocketcdg-b819de5b993d5f0e8cfd2870453d090c1cf0a3ca.tar.gz"
